package com.cam.framework.system.common.dict;

import com.cam.framework.annotation.SysDictAnno;
import com.cam.framework.crud.SysDictInterface;

@SysDictAnno(type = "tag_type")
public enum TagTypeDict implements SysDictInterface {

    SUCCESS("成功", "success"),
    DANGER("错误", "danger"),
    INFO("信息", "info"),
    NORMAL("普通", ""),
    WARNING("警告", "warning"),
    ;

    private final String label;

    private final String value;

    TagTypeDict(String label, String value) {
        this.label = label;
        this.value = value;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public String getValue() {
        return value;
    }
}
